* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    font-family: sans-serif;
    background: #f9f9f9;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#header,
#footer {
    background-color: #251764;
    color: white;
    padding: 1rem;
    text-align: center;
}

#header h1,
#footer h4,
#footer h6 {
    margin: 0.5rem 0;
}

#header a {
    color: white;
    text-decoration: none;
}

#body {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem;
    font-family: monospace;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f0f0f0;
    resize: vertical;
}

textarea:read-only {
    background: #f5f5f5;
    color: #555;
}

textarea#clientConsole {
    height: 300px;
}

textarea#serverConsole {
    height: 100px;
}

@media (max-width: 600px) {
    #body {
        padding: 0.5rem;
    }

    #header h1,
    #footer h4,
    #footer h6 {
        font-size: 1rem;
    }
}
